package jam.beans;

import java.io.Serializable;


public class Route implements Serializable{
  /**
   * 
   */
  private static final long serialVersionUID = 1L;

  public Route() {
    super();
  }

  public Route(String id, String routeName, Location startPosition, Location endPosition) {
    super();
    this.id = id;
    this.routeName = routeName;
    this.startPosition = startPosition;
    this.endPosition = endPosition;
  }
  
  private Schedule schedule;
  private String id;
  private String routeName;
  private Location startPosition;
  private Location endPosition;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getRouteName() {
    return routeName;
  }

  public void setRouteName(String routeName) {
    this.routeName = routeName;
  }

  public Location getStartPosition() {
    return startPosition;
  }

  public void setStartPosition(Location startPosition) {
    this.startPosition = startPosition;
  }

  public Location getEndPosition() {
    return endPosition;
  }

  public void setEndPosition(Location endPosition) {
    this.endPosition = endPosition;
  }

  public Schedule getSchedule() {
    return schedule;
  }

  public void setSchedule(Schedule schedule) {
    this.schedule = schedule;
  }

}
